package functionReference;

interface Transfrom<T>{
	public T toUpperLowerCase();
}

public class NonStaticFunctionReference {
	public static void main(String[] args) {
		Transfrom<String> t = "HelloWorld"::toLowerCase;
		System.out.println(t.toUpperLowerCase());
		
		Transfrom<String> t2 = "HelloWorld"::toUpperCase;
		System.out.println(t2.toUpperLowerCase());
	}
}
